function result = gurps(skill,mods)

roll=sum(randi(6,1,3)); %#ok<MFAMB>

if(roll<=skill+mods)
    result=true; %#ok<MFAMB>
else
    result=false; %#ok<MFAMB>
end

if(roll<=4)
	result=true;
elseif(roll>=17)
	result=false;
end
end